//请求的url
let en_js = require('/environment.js');

//图片链接
const imgUrl = en_js.imgUrl
//记录微信的code并返回openid
const loginRecordUrl = "/login/record"
//查询附近店铺信息
const shopListUrl = "/shop/list"
//展示省信息
const locationProvinceUrl = "/location/province"
//展示市信息
const locationCityUrl = "/location/city"
//展示县区信息
const locationDistrictUrl = "/location/district"
//展示县区信息
const locationStreetUrl = "/location/street"
//申请成为团长
const shopApplyUrl = "/shop/apply"
//供应商后台分类
const shopSupplierCateogryUrl = "/shop/supplier-cateogry"
//供应商申请
const shopSupplierApplyUrl = "/shop/supplier-apply"
//首页轮播与icon
const homeBannerIconUrl = "/home/banner-icon"
//首页限时抢购接口
const homeFlushSalesUrl = "/home/flush-sales"
//短信验证码接口
const loginVerficationUrl = "/login/verfication"
//登录
const loginLoginUrl = "/login/login"
//解密手机号
const loginDecryptMobileUrl = "/login/decrypt-mobile"
//首页分类
const homeFrontCategoriesUrl = "/home/front-categories"
//首页分类对应的商品
const homeFrontCategoryProductUrl = "/home/front-category-product"
//选择自提点，将刚才的自提点信息返回
const shopSelectShopUrl = "/shop/select-shop"
//显示商品详情
const productInfoUrl = "/product/info"
//生成分享二维码--商品详情页面
const productGenerateCodeUrl = "/product/generate-code"
//前台分类
const frontCategoryListUrl = "/front-category/list"
//展现前台商品数据
const productListUrl = "/product/list"
//搜索
const searchUrl = "/search"
//广告
const searchAdvertUrl = "/search/advert"
//搜索热词
const searchHotKeywordUrl = "/search/hot-keyword"
//猜你喜欢
const recommendGuessUrl = "/recommend/guess"
//猜你喜欢
const recommendRecommendUrl = "/recommend/recommend"
//我的自提点
const shopMyShopsUrl = "/shop/my-shops"
//临时缓存用户定位查询信息
const locationSaveUrl = "/location/save"
//增加自提点
const shopAddShopUrl = "/shop/add-shop"
//删除自提点
const shopDeleteShopUrl = "/shop/delete-shop"
//限时抢购活动列表
const listUrl = "/list"
//限时抢购商品列表
const listProductUrl = "/list-product"
//团购商品列表
const groupListUrl = "/group/list"
//展现tag对应的商品数据
const productTagListUrl = "/product/tag-list"
//增加购物车
const cartAddUrl = "/cart/add"
//删除购物车
const cartDeleteUrl = "/cart/delete"
//购物车列表
const cartListUrl = "/cart/list"
//确认订单页面接口
const cartConfirmUrl = "/cart/confirm"
//创建订单
const orderCreateUrl = "/order/create"
//weixinPrePay
const payPrepareUrl = "/pay/prepare"
//订单列表
const orderListUrl = "/order/list"
//订单详情接口
const orderInfoUrl = "/order/info"
//我的优惠券
const couponListUrl = "/coupon/list"
//取消订单
const orderCancelUrl = "/order/cancel"
//删除订单
const orderDeleteUrl = "/order/delete"
//售后订单详情
const orderAfterSaleUrl = "/order/alfter-sale"
//客服列表
const customerListUrl = "/customer/list"
//新用户券
const couponPickUrl = "/coupon/pick"
//用户团购信息
const groupUserGroupUrl = "/group/user-group"
//用户团购信息
const groupInfoUrl = "/group/info"
//显示商品团购活动状态,1进行中，0没有团购活动
const productGroupStatusUrl = "/product/group-status"
//创建团购订单
const orderCreateGroupUrl = "/order/create-group"
//cms详情
const cmsListUrl = "/cms/list"
//用户券适用商品
const couponListProductUrl = "/coupon/list-product"
//根据券ID领取券,传couponId
const couponPickCouponUrl = "/coupon/pick-coupon"
// 用户协议
const yhxyUrl = "/022214122326.html"
// 隐私政策
const yszcUrl = "/secret.html"
// 企业资质
const qyzzUrl = "/022717240370.html"
// 关于我们
const aboutUsUrl = "/about.html"
//获取分享数据
const homeShareConfigUrl = "/home/share-config"
//展示待支付与待提货商品数量
const orderOrderCountUrl = "/order/order-count"

//取下单之后分享红包活动设置
const getsetting = "/campagin/dealcampaign/getsetting"
//领订单分享红包
const pick = "/campagin/dealcampaign/pick"
//发起分享红包活动或者拉取红包活动的详情
const refreshsharecoupon = "/campagin/dealcampaign/refreshsharecoupon"

//取老拉新红包活动设置
const getSetting2 = "/campagin/sharecampaign/get-setting"
//领老拉新客券
const getcoupon = "/campagin/sharecampaign/getcoupon"
//发起老拉新活动或者拉取发起活动的详情
const refreshsharecoupon2 = "/campagin/sharecampaign/refreshsharecoupon"
//生成面对面邀请二维码
const generateCode = "/campagin/generate-code"
//文件上传
const fileUploadUrl = "/file/upload"
//查询店铺详情
const shopInfoUrl = "/shop/info"
//查询默认自提点
const shopDefaultShopUrl = "/shop/default-shop"
//消息通知接口
const payNotificationUrl = "/pay/notification"
// 首页新用户接口
const newUserActivityinfoUrl = "/new-user-activity/info"
//新用户接口限时抢购接口
const newUserActivityProductListUrl = "/new-user-activity/product-list"
//下完订单展示券
const newUserActivityShowOrderCouponUrl = "/new-user-activity/show-order-coupon"
//万人团购商品列表
const groupJoinInfoUrl = "/group-no-join/info"
//生成分享海报
const shopGenerateUrl = "/shop/generate"
//限时抢购通知 ID
const notificationIdUrl = "/notification-id"
module.exports = {
  imgUrl: imgUrl,
  loginRecordUrl: loginRecordUrl,
  shopListUrl: shopListUrl,
  locationProvinceUrl: locationProvinceUrl,
  locationCityUrl: locationCityUrl,
  locationDistrictUrl: locationDistrictUrl,
  locationStreetUrl: locationStreetUrl,
  shopApplyUrl: shopApplyUrl,
  shopSupplierCateogryUrl: shopSupplierCateogryUrl,
  shopSupplierApplyUrl: shopSupplierApplyUrl,
  homeBannerIconUrl: homeBannerIconUrl,
  homeFlushSalesUrl: homeFlushSalesUrl,
  loginVerficationUrl: loginVerficationUrl,
  loginLoginUrl: loginLoginUrl,
  loginDecryptMobileUrl: loginDecryptMobileUrl,
  homeFrontCategoriesUrl: homeFrontCategoriesUrl,
  homeFrontCategoryProductUrl: homeFrontCategoryProductUrl,
  shopSelectShopUrl: shopSelectShopUrl,
  productInfoUrl: productInfoUrl,
  productGenerateCodeUrl: productGenerateCodeUrl,
  frontCategoryListUrl: frontCategoryListUrl,
  productListUrl: productListUrl,
  searchUrl: searchUrl,
  searchAdvertUrl: searchAdvertUrl,
  searchHotKeywordUrl: searchHotKeywordUrl,
  recommendGuessUrl: recommendGuessUrl,
  recommendRecommendUrl: recommendRecommendUrl,
  shopMyShopsUrl: shopMyShopsUrl,
  locationSaveUrl: locationSaveUrl,
  shopAddShopUrl: shopAddShopUrl,
  shopDeleteShopUrl: shopDeleteShopUrl,
  listUrl: listUrl,
  listProductUrl: listProductUrl,
  groupListUrl: groupListUrl,
  productTagListUrl: productTagListUrl,
  cartAddUrl: cartAddUrl,
  cartDeleteUrl: cartDeleteUrl,
  cartListUrl: cartListUrl,
  cartConfirmUrl: cartConfirmUrl,
  orderCreateUrl: orderCreateUrl,
  payPrepareUrl: payPrepareUrl,
  orderListUrl: orderListUrl,
  orderInfoUrl: orderInfoUrl,
  couponListUrl: couponListUrl,
  orderCancelUrl: orderCancelUrl,
  orderDeleteUrl: orderDeleteUrl,
  orderAfterSaleUrl: orderAfterSaleUrl,
  customerListUrl: customerListUrl,
  couponPickUrl: couponPickUrl,
  groupUserGroupUrl: groupUserGroupUrl,
  groupInfoUrl: groupInfoUrl,
  productGroupStatusUrl: productGroupStatusUrl,
  orderCreateGroupUrl: orderCreateGroupUrl,
  cmsListUrl: cmsListUrl,
  couponListProductUrl: couponListProductUrl,
  couponPickCouponUrl: couponPickCouponUrl,
  yhxyUrl: yhxyUrl,
  yszcUrl: yszcUrl,
  qyzzUrl: qyzzUrl,
  aboutUsUrl: aboutUsUrl,
  getsetting: getsetting,
  pick: pick,
  refreshsharecoupon: refreshsharecoupon,
  getSetting2: getSetting2,
  getcoupon: getcoupon,
  refreshsharecoupon2: refreshsharecoupon2,
  generateCode: generateCode,
  homeShareConfigUrl: homeShareConfigUrl,
  orderOrderCountUrl: orderOrderCountUrl,
  fileUploadUrl: fileUploadUrl,
  shopInfoUrl: shopInfoUrl,
  shopDefaultShopUrl: shopDefaultShopUrl,
  payNotificationUrl: payNotificationUrl,
  newUserActivityinfoUrl: newUserActivityinfoUrl,
  newUserActivityProductListUrl: newUserActivityProductListUrl,
  newUserActivityShowOrderCouponUrl: newUserActivityShowOrderCouponUrl,
  groupJoinInfoUrl: groupJoinInfoUrl,
  shopGenerateUrl: shopGenerateUrl,
  notificationIdUrl: notificationIdUrl
}